<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="layout::header"></head>
<body>
<nav th:replace="layout::navbar"></nav>
<div class="search">
<!--    <div class="searchCenter">-->
        <img src="../../static/img/04.webp" th:src="@{/img/04.webp}"/>
      <div class="searchRight">
         <form class="homeForm">
           <input class="homeSou" type="search" placeholder="Search" aria-label="Search"><button class="homeButton" type="submit">搜索</button>
         </form>
         <div class="sPosition">
           <span>热门岗位：</span>
           <ul th:each="aPosition : ${positions}">
             <li th:text="${aPosition.name}"></li>
           </ul>
         </div>
      </div>
<!--    </div>-->
</div>

<div class="homeBox">
    <div class="homeContainer">
        <div>
        <h4>热门公司</h4>
            <ul th:each="aCompany : ${company}" class="listTable3 listTable">
                <li th:text="${aCompany.companyName}"></li>
                <li th:text="${aCompany.companyPlace}"></li>
                <li th:text="${aCompany.companyDescription}"></li>
            </ul></div>
    </div>

    <div class="homeContainer">
    <h4>热门岗位</h4><br/>
        <div>
            <ul th:each="aPosition : ${positions}" class="listTable4 listTable">
                <li th:text="${aPosition.name}"></li>
                <li th:text="${aPosition.city}"></li>
                <li th:text="${aPosition.place}"></li>
                <li th:text="${aPosition.money}"></li>
                <li th:text="${aPosition.time}"></li>
            </ul></div>
    </div>
</div>
<div class="Footer">
   校园招聘网&copy;2021,All Right Choice
</div>
</body>
</html>
